package com.example.mapper;

import com.example.pojo.Area;
import com.example.pojo.ProductArea;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductAreaMapper {

    int insert(ProductArea productArea);

    int batchInsert(List<ProductArea> productAreaList);

    int batchUpdateByVillageId(List<Area> areaList);

    int batchUpdateByAreaId(List<Area> areas2);

    int batchUpdateByUniversityId(List<Area> areas2);
}
